#!/bin/bash

# This script will setup C100 develop environment automatically

# Init submodules
git submodule update --init --recursive DRAMsim3 NEMU NutShell nexus-am
git submodule update --init C100 && make -C C100 init;

# Setup C100 environment variables
source env.sh
# OPTIONAL: export them to .bashrc

echo C100_PROJECT_ROOT: ${C100_PROJECT_ROOT}
echo NEMU_HOME: ${NEMU_HOME}
echo AM_HOME: ${AM_HOME}
echo NOOP_HOME: ${NOOP_HOME}

